package com.flight.trans.bean;

import java.util.List;

/**
 * 库房区域
 */
public class StorageAreaBean {

    private int count;
    private List<StorageAreaData> data;
    private int code;
    private String msg;
    private int total;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<StorageAreaData> getData() {
        return data;
    }

    public void setData(List<StorageAreaData> data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class StorageAreaData {
        private int id;
        private int warehouseId;
        private String name;
        private String delFlag;
        private boolean isSelected ;

        public StorageAreaData(){}

        public StorageAreaData(int id ,String name){
            this.id = id ;
            this.name = name ;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getWarehouseId() {
            return warehouseId;
        }

        public void setWarehouseId(int warehouseId) {
            this.warehouseId = warehouseId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(String delFlag) {
            this.delFlag = delFlag;
        }

        public static class Params {
        }

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }
    }
}
